package com.yiji.fintech.musfinance.common.strategy.context;

import com.yiji.fintech.musfinance.common.domain.base.BaseDomain;
import com.yiji.fintech.musfinance.common.strategy.base.AbstractContext2DomainStrategy;
import com.yiji.fintech.musfinance.common.domain.channel.ChannelDomain;

/**
 * Created by ouwen@yiji.com} on 2017/9/22.
 */
public class Context2DomainContext {
    private AbstractContext2DomainStrategy context2DomainStrategy;
    public Context2DomainContext(AbstractContext2DomainStrategy context2DomainStrategy){
        this.context2DomainStrategy = context2DomainStrategy;
    }
    public void doConverter(ChannelDomain channelDomain, BaseDomain domain){
        context2DomainStrategy.doExcute(channelDomain,domain);
    }
}
